PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Particles / Grid / suksma - dorsal forsal - dead hog.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=2.000 |
| 8 | fDecay=0.960 |
| 9 | fVideoEchoZoom=1.905 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=1 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.009 |
| 26 | fWaveScale=0.010 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=-0.800 |
| 29 | fModWaveAlphaStart=0.750 |
| 30 | fModWaveAlphaEnd=0.950 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.000 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=1.000 |
| 35 | zoom=1.00000 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=1.00000 |
| 42 | sx=0.98030 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.010 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=1.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=0.470 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=-0.280 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=0.000 |
| 66 | mv_b=0.000 |
| 67 | mv_a=1.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=0 |
| 128 | shapecode_0_sides=20 |
| 129 | shapecode_0_additive=0 |
| 130 | shapecode_0_thickOutline=0 |
| 131 | shapecode_0_textured=0 |
| 132 | shapecode_0_num_inst=1024 |
| 133 | shapecode_0_x=0.500 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=0.01000 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=1.00000 |
| 139 | shapecode_0_r=0.000 |
| 140 | shapecode_0_g=0.000 |
| 141 | shapecode_0_b=1.000 |
| 142 | shapecode_0_a=1.000 |
| 143 | shapecode_0_r2=0.000 |
| 144 | shapecode_0_g2=0.000 |
| 145 | shapecode_0_b2=0.000 |
| 146 | shapecode_0_a2=0.100 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=1.000 |
| 150 | shapecode_0_border_a=0.006 |
| 151 | shape_0_per_frame1=pigtemp=int(pow(4,bass+treb+mid)); |
| 152 | shape_0_per_frame2=num_inst=if(above(pigtemp,1024),1024,pigtemp); |
| 153 | shape_0_per_frame3= |
| 154 | shape_0_per_frame4=t1 = time/5; |
| 155 | shape_0_per_frame5=t2 = time/6; |
| 156 | shape_0_per_frame6=rad = 0.005+bass/100; |
| 157 | shape_0_per_frame7=t3 = bass_att/70; |
| 158 | shape_0_per_frame8=b2 = treb*0.7-bass/2; |
| 159 | shape_0_per_frame9=r = instance/num_inst; |
| 160 | shape_0_per_frame10=g = abs(treb_att/5-bass); |
| 161 | shape_0_per_frame11=//b = abs(treb_att/5-bass); |
| 162 | shape_0_per_frame12=size = 0.3+bass_att/300; |
| 163 | shape_0_per_frame13= |
| 164 | shape_0_per_frame14=nc = sqrt(num_inst); |
| 165 | shape_0_per_frame15=xs=sin(6.28*(instance%nc)/nc)*sin(3.14*int(instance/nc)/nc); |
| 166 | shape_0_per_frame16=ys=cos(6.28*(instance%nc)/nc)*sin(3.14*int(instance/nc)/nc); |
| 167 | shape_0_per_frame17=zs=cos(3.14*int(instance/nc)/nc); |
| 168 | shape_0_per_frame18= |
| 169 | shape_0_per_frame19=//modulate to allow rotation |
| 170 | shape_0_per_frame20=y1 = ys*cos(t1)-zs*sin(t1); |
| 171 | shape_0_per_frame21=z1 = ys*sin(t1)+zs*cos(t1); |
| 172 | shape_0_per_frame22=x1 = z1*sin(t2)+xs*cos(t2); |
| 173 | shape_0_per_frame23=z2 = z1*cos(t2)-xs*sin(t2); |
| 174 | shape_0_per_frame24=x2 = x1*cos(t3)-y1*sin(t3); |
| 175 | shape_0_per_frame25=y2 = y1*cos(t3)+x1*sin(t3); |
| 176 | shape_0_per_frame26= |
| 177 | shape_0_per_frame27=//translate shape |
| 178 | shape_0_per_frame28=x3 = x2; |
| 179 | shape_0_per_frame29=y3 = y2; |
| 180 | shape_0_per_frame30=z3 = z2; |
| 181 | shape_0_per_frame31= |
| 182 | shape_0_per_frame32=x = 0.5 + size*(x3/(1+z3*size)); |
| 183 | shape_0_per_frame33=y = 0.5 + size*(y3/(1+z3*size)); |
| 184 | shape_0_per_frame34=a=below(z3,0); |
| 185 | shapecode_1_enabled=0 |
| 186 | shapecode_1_sides=100 |
| 187 | shapecode_1_additive=0 |
| 188 | shapecode_1_thickOutline=0 |
| 189 | shapecode_1_textured=1 |
| 190 | shapecode_1_num_inst=7 |
| 191 | shapecode_1_x=0.500 |
| 192 | shapecode_1_y=0.500 |
| 193 | shapecode_1_rad=0.03333 |
| 194 | shapecode_1_ang=0.00000 |
| 195 | shapecode_1_tex_ang=0.00000 |
| 196 | shapecode_1_tex_zoom=1.00000 |
| 197 | shapecode_1_r=0.000 |
| 198 | shapecode_1_g=0.000 |
| 199 | shapecode_1_b=0.000 |
| 200 | shapecode_1_a=1.000 |
| 201 | shapecode_1_r2=0.000 |
| 202 | shapecode_1_g2=0.000 |
| 203 | shapecode_1_b2=0.000 |
| 204 | shapecode_1_a2=0.000 |
| 205 | shapecode_1_border_r=1.000 |
| 206 | shapecode_1_border_g=1.000 |
| 207 | shapecode_1_border_b=1.000 |
| 208 | shapecode_1_border_a=1.000 |
| 209 | shape_1_per_frame1=x = int(rand(100))*.01+instance-instance; |
| 210 | shape_1_per_frame2=y = int(rand(100))*.01+instance-instance; |
| 211 | shape_1_per_frame3= |
| 212 | shape_1_per_frame4=a =1; |
| 213 | shape_1_per_frame5=a2 =1; |
| 214 | shape_1_per_frame6=border_a = 0; |
| 215 | shape_1_per_frame7=vol=bass+mid+treb; |
| 216 | shape_1_per_frame8=rad = int(rand(int(vol)))/7+instance-instance; |
| 217 | shapecode_2_enabled=0 |
| 218 | shapecode_2_sides=100 |
| 219 | shapecode_2_additive=1 |
| 220 | shapecode_2_thickOutline=1 |
| 221 | shapecode_2_textured=0 |
| 222 | shapecode_2_num_inst=69 |
| 223 | shapecode_2_x=0.500 |
| 224 | shapecode_2_y=0.500 |
| 225 | shapecode_2_rad=0.03333 |
| 226 | shapecode_2_ang=0.00000 |
| 227 | shapecode_2_tex_ang=0.00000 |
| 228 | shapecode_2_tex_zoom=1.00000 |
| 229 | shapecode_2_r=0.100 |
| 230 | shapecode_2_g=0.100 |
| 231 | shapecode_2_b=0.100 |
| 232 | shapecode_2_a=1.000 |
| 233 | shapecode_2_r2=0.100 |
| 234 | shapecode_2_g2=0.100 |
| 235 | shapecode_2_b2=0.100 |
| 236 | shapecode_2_a2=1.000 |
| 237 | shapecode_2_border_r=0.100 |
| 238 | shapecode_2_border_g=0.100 |
| 239 | shapecode_2_border_b=0.100 |
| 240 | shapecode_2_border_a=1.000 |
| 241 | shape_2_per_frame1=//x = rand(2*int(rand(70-(instance+1)))%int(rand(70-(instance+1))))*.02+.5; |
| 242 | shape_2_per_frame2=xresquan=int(rand(int((q29-q30)*500))); |
| 243 | shape_2_per_frame3=yresquan=int(rand(int((q29-q30)*500))); |
| 244 | shape_2_per_frame4=x=int(rand(q31+instance-instance-xresquan))/(q31-xresquan); |
| 245 | shape_2_per_frame5=y=int(rand(q32+instance-instance-yresquan))/(q32-yresquan); |
| 246 | shape_2_per_frame6=//y = rand(2*int(rand(70-(instance+1)))%int(rand(70-(instance+1))))*.02+.5; |
| 247 | shape_2_per_frame7= |
| 248 | shape_2_per_frame8=a = 1;//if(above(frame%7,0),0,1); |
| 249 | shape_2_per_frame9=a2 = 1;// if(above(frame%7,0),0,1); |
| 250 | shape_2_per_frame10=border_a = 1; |
| 251 | shape_2_per_frame11=//vol=bass+mid+treb; |
| 252 | shape_2_per_frame12=rad = q30*.1; |
| 253 | shape_2_per_frame13=//r=1; |
| 254 | shape_2_per_frame14=//g=1; |
| 255 | shape_2_per_frame15=//b=1; |
| 256 | shapecode_3_enabled=0 |
| 257 | shapecode_3_sides=4 |
| 258 | shapecode_3_additive=0 |
| 259 | shapecode_3_thickOutline=0 |
| 260 | shapecode_3_textured=0 |
| 261 | shapecode_3_num_inst=1 |
| 262 | shapecode_3_x=0.500 |
| 263 | shapecode_3_y=0.500 |
| 264 | shapecode_3_rad=0.10000 |
| 265 | shapecode_3_ang=0.00000 |
| 266 | shapecode_3_tex_ang=0.00000 |
| 267 | shapecode_3_tex_zoom=1.00000 |
| 268 | shapecode_3_r=1.000 |
| 269 | shapecode_3_g=0.000 |
| 270 | shapecode_3_b=0.000 |
| 271 | shapecode_3_a=1.000 |
| 272 | shapecode_3_r2=0.000 |
| 273 | shapecode_3_g2=1.000 |
| 274 | shapecode_3_b2=0.000 |
| 275 | shapecode_3_a2=0.000 |
| 276 | shapecode_3_border_r=1.000 |
| 277 | shapecode_3_border_g=1.000 |
| 278 | shapecode_3_border_b=1.000 |
| 279 | shapecode_3_border_a=0.100 |
| 280 | per_frame_1=//wave_mystery = 1; |
| 281 | per_frame_2=bassrun=bass+bassrun; |
| 282 | per_frame_3=trebrun=treb+trebrun; |
| 283 | per_frame_4=midrun=mid+midrun; |
| 284 | per_frame_5=vol=(bassrun+midrun+trebrun)*.03; |
| 285 | per_frame_6=vol2=vol*.001; |
| 286 | per_frame_7=warp = 0; |
| 287 | per_frame_8=zoom = 1.4 +0.15*cos(vol*0.42); |
| 288 | per_frame_9=rot = 0.01*sin(1.34*vol); |
| 289 | per_frame_10=dx = 0.005*sin(vol*0.646); |
| 290 | per_frame_11=dy=0.005*sin(vol*0.314); |
| 291 | per_frame_12=cx = 0.5 + 0.05*sin(0.497*vol); |
| 292 | per_frame_13=cy = 0.5 +0.05*sin(0.413*vol); |
| 293 | per_frame_14= |
| 294 | per_frame_15=pi23=4*asin(-1)*.33333333333333; |
| 295 | per_frame_16=q6= (sin(vol-0*pi23)+1)*.5; |
| 296 | per_frame_17=q7= (sin(vol-1*pi23)+1)*.5; |
| 297 | per_frame_18=q8=(sin(vol-2*pi23)+1)*.5; |
| 298 | per_frame_19=mv_r=q6; |
| 299 | per_frame_20=mv_g=q7; |
| 300 | per_frame_21=mv_b=q8; |
| 301 | per_frame_22=q9=q6+1; |
| 302 | per_frame_23=vol3=(bass+mid+treb)*.3; |
| 303 | per_frame_24=q21=vol*.05; |
| 304 | per_frame_25=q26=vol3; |
| 305 | per_frame_26=q20=vol3; |
| 306 | per_frame_27=q1=q6*.3; |
| 307 | per_frame_28=q2=q7*.3; |
| 308 | per_frame_29=q3=q8*.3; |
| 309 | per_frame_30=q4=q8/q6*2; |
| 310 | warp_1=`#define sampler_pic sampler_onefish |
| 311 | warp_2=`sampler2D sampler_pic; |
| 312 | warp_3=` |
| 313 | warp_4=`shader_body |
| 314 | warp_5=`{ |
| 315 | warp_6=` ret = tex2D( sampler_main, uv ).xyz; |
| 316 | warp_7=` |
| 317 | warp_8=` // ERROR DIFFUSION DITHER - looks great |
| 318 | warp_9=` float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw + rand_frame.xy; |
| 319 | warp_10=` ret += (tex2D(sampler_noise_lq, dither_uv).xyz-0.5)/256.0*1; |
| 320 | warp_11=` |
| 321 | warp_12=` // mix in img... |
| 322 | warp_13=` float3 pic = tex2D(sampler_pic, uv_orig*aspect.xy).xyz; |
| 323 | warp_14=` float lum = lum(pic); |
| 324 | warp_15=` float use_it = abs(lum*0.8+0.1 - (frac(time*0.2)*0.5+0.25)); |
| 325 | warp_16=` use_it = saturate(1 - use_it*13); |
| 326 | warp_17=` ret = lerp(ret, pic, use_it.xxx); |
| 327 | warp_18=` |
| 328 | warp_19=` // darken over time |
| 329 | warp_20=` //ret -= 0.004; |
| 330 | warp_21=` //ret *= 0.99; |
| 331 | warp_22=` ret *= 0.97 + 0.03*saturate( length(uv - uv_orig)*200 ); // center only |
| 332 | warp_23=`} |
| 333 | comp_1=`float z; |
| 334 | comp_2=`float3 ret1, neu, mus; |
| 335 | comp_3=`float2 rs,rs2,uv1,uv2, uv3,uv4,uv6,dz,dz1; |
| 336 | comp_4=`shader_body |
| 337 | comp_5=`{ |
| 338 | comp_6=`float2 uv2; |
| 339 | comp_7=`//uv = (uv-0.5) * aspect.xy + .5; |
| 340 | comp_8=`dz = 0; |
| 341 | comp_9=` |
| 342 | comp_10=` |
| 343 | comp_11=`float2 hor = float2(texsize.z,0); |
| 344 | comp_12=`float2 ver = float2(0,texsize.w); |
| 345 | comp_13=` |
| 346 | comp_14=`float dist = 1; |
| 347 | comp_15=`float inten = 1; |
| 348 | comp_16=`ret1 = 0; |
| 349 | comp_17=`float anz = 1; |
| 350 | comp_18=`float n = 0; |
| 351 | comp_19=`uv4 = (uv); |
| 352 | comp_20=` dz.x = lum(GetPixel(uv4+hor)- GetPixel (uv4-hor)); |
| 353 | comp_21=` dz.y = lum(GetPixel(uv4+ver)- GetPixel (uv4-ver)); |
| 354 | comp_22=` |
| 355 | comp_23=`//uv4 = 0; |
| 356 | comp_24=` |
| 357 | comp_25=`mus = .5*GetPixel(uv4+.1*dz)+0*dz.x+.01; |
| 358 | comp_26=` |
| 359 | comp_27=`uv2 = uv-.5; |
| 360 | comp_28=`while (n <= anz) { |
| 361 | comp_29=` dist = 1-frac(1.0/anz*n-.1); //evtl sqrt !; |
| 362 | comp_30=` |
| 363 | comp_31=` inten = sqrt(dist)*(1-dist*dist)*4; |
| 364 | comp_32=` |
| 365 | comp_33=` uv3 = 2*uv2*dist + .5 + 0.0*time; |
| 366 | comp_34=` |
| 367 | comp_35=`// uv3 *= aspect.yx; |
| 368 | comp_36=` uv3 = frac(uv3); |
| 369 | comp_37=` |
| 370 | comp_38=` uv3 = .2 * cos(42*uv3+time/2) + 99*dz; |
| 371 | comp_39=` neu = saturate(.01/length(uv3)) ; |
| 372 | comp_40=` neu = dist*neu + (1-dist)*lum(neu); |
| 373 | comp_41=` ret1 = max(ret1,neu*inten); |
| 374 | comp_42=`n++; |
| 375 | comp_43=`} |
| 376 | comp_44=` |
| 377 | comp_45=` |
| 378 | comp_46=`ret = ret1 + saturate(16*mus*(.1+ret1)); |
| 379 | comp_47=`} |